import roleController from "../controller/role-controller";

export default [
  {
    path: '/web/role/getRoles',
    method: 'post',
    action: roleController.getRoles
  },
  {
    path: '/web/role/delRole',
    method: 'post',
    action: roleController.delRole
  },
  {
    path: '/web/role/addRole',
    method: 'post',
    action: roleController.addRole
  },
  {
    path: '/web/role/updateRole',
    method: 'post',
    action: roleController.updateRole
  },
];
